package com.example.student.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.student.entity.FileInfo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface FileInfoService extends IService<FileInfo> {

    List<FileInfo> saveFiles(Map<String, MultipartFile> files);

    FileInfo saveFile(byte[] bytes,String fileName);

}
